<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<body>
	<nav class="navbar navbar-default">
		<div class="container">
			<!-- Brand and toggle get grouped for better mobile display -->
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
					<span class="sr-only">Toggle navigation</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="/">
					<img width="90px" src="/public/img/logo3.png" alt="">
				</a>
			</div>
			<!-- Collect the nav links, forms, and other content for toggling -->
			<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
				<ul class="nav navbar-nav navbar-right">
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><img width="20" height="20" src="../public/img/avatar-max-img.png" alt=""> <span class="caret"></span></a>
					</li>
					
				</ul>
			</div>
			<!-- /.navbar-collapse -->
		</div>
		<!-- /.container-fluid -->
	</nav>
	<div class="row">
		<div class="col-sm-1"></div>
		<div class="col-sm-2">
			<a href="#" class="list-group-item disabled">用户设置</a>
			<a href="/setting/base" class="list-group-item active">基本信息</a>
			<a href="/setting/safe" class="list-group-item">账户设置</a>
		</div><!-- /.col-sm-4 -->
		<div class="col-sm-6">
			<form action="/update" method="post">
				<div class="form-group">
					<label for="">账号</label>
					<input href="#" class="list-group-item disabled" name="email" value="{{user.email}}"></imput>
				</div>
				<div class="form-group">
					<label for="">昵称</label>
					<input type="text" class="form-control" id="" placeholder=""
					name="name" value="{{user.name}}">
				</div>
				<div class="form-group">
					<label for="">介绍</label>
					<textarea class="form-control" rows="3" name="msg" id="msg" value="{{user.msg}}">{{user.msg}}</textarea>
				</div>
				<div class="form-group">
					<label for="">性别</label>
					<label class="radio-inline">
						<input type="radio" name="gender" id="inlineRadio1" value="男" checked> 男
					</label>
					<label class="radio-inline">
						<input type="radio" name="gender" id="inlineRadio2" value="女"> 女
					</label>
				</div>
				<div class="form-group">
					<label for="">生日</label>
					<input type="text" class="form-control" id="" placeholder="" name="birthday" value="{{user.birthday}}">
				</div>
				<input class="hidden" name="password" value="{{user.password}}"></input>
				<input class="hidden" name="id" value="{{user._id}}"></input>
				<button type="submit" class="btn btn-success">保存</button>
			</form>
		</div><!-- /.col-sm-4 -->
		<div class="col-sm-3">
			<dl>
				<dt>头像</dt>
				<dd>
					<img class="avatar" width="150" height="150" src="../public/img/avatar-max-img.png" alt="">
				</dd>
			</dl>
		</div><!-- /.col-sm-4 -->
	</div>

</body>

</html>


